package cn.changein.framework.kernel.model.response;

/**
 * <p>
 * 请求成功的返回
 * </p>
 *

 * @Date: 2020-10-27 11:32
 * @Copyright: companyName
 * @Version 1.0
 * @Since JDK1.8
 */
public class SuccessResponseData extends ResponseData {

    public SuccessResponseData() {
        super(true, DEFAULT_SUCCESS_CODE, DEFAULT_SUCCESS_MESSAGE, null);
    }

    public SuccessResponseData(Object object) {
        super(true, DEFAULT_SUCCESS_CODE, DEFAULT_SUCCESS_MESSAGE, object);
    }

    public SuccessResponseData(String message) {
        super(true, DEFAULT_SUCCESS_CODE, message, null);
    }

    public SuccessResponseData(Integer code, String message, Object object) {
        super(true, code, message, object);
    }
}

